﻿<table class="gridtable">
    <thead>
        <tr>
            <th>ID</th>
            <th>Name</th>
            <th>Input Type</th>
            <th>Parameter Type</th>
            <th>&nbsp;</th>
        </tr>
        <tr data-bind="visible: Parameters().length == 0">
            <th colspan="5" class="message">No Parameters</th>
        </tr>
    </thead>
    <tbody data-bind="foreach: Parameters">
        <tr data-bind="if: Editing">
            <!-- ko template: {name: 'EditParameterTable'} -->
            <!-- /ko -->
        </tr>
        <tr data-bind="ifnot: Editing">
            <!-- ko template: {name: 'DisplayParameterTable'} -->
            <!-- /ko -->
        </tr>
    </tbody>
</table>